﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DAO;
using DTO;


namespace BUS
{
    public class LaplichdiBUS
    {
        public DataTable loadmatuyen()
        {
            LaplichdiDAO DAO = new LaplichdiDAO();
            return DAO.loadmatuyen();
        }
        public DataTable loadxe()
        {
            LaplichdiDAO DAO = new LaplichdiDAO();
            return DAO.loadxe();
        }
        public bool laplich(LaplichdiDTO DTO)
        {
            LaplichdiDAO DAO = new LaplichdiDAO();
            return DAO.laplich(DTO);
        }
        public bool sualich(LaplichdiDTO DTO, int b)
        {
            LaplichdiDAO DAO = new LaplichdiDAO();
            return DAO.sualich(DTO,b);
        }
    }
}
